//
//  UserInfoParser.h
//  FootPrint
//
//  Created by 秦 东方 on 4/19/13.
//  Copyright (c) 2013 alex tao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UserQueryByIdResponse.pb.h"
#import "UserQueryByIdRequest.pb.h"
#import "UserProModifyRequest.pb.h"
#import "UserProModifyResponse.pb.h"


@protocol UserInfoDelegate <NSObject>

- (void)didFinishUserInfo:(UserQueryByIdResponseMessage*)userMsg;
- (void)failUser;

- (void)didFinishModify:(UserProModifyResponseMessage*)result;
- (void)failModify;

@end

@interface UserInfoParser : CommonParser

@property (nonatomic, assign) id<UserInfoDelegate>delegate;

- (void)reqUserInfo:(long long)userId;
- (void)reqModiInfo:(long long)userId imageId:(long long)imgId nickName:(NSString*)nickName signName:(NSString*)said password:(NSString*)pwd;

@end
